package com.zhanggm.student.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.zhanggm.student.entity.Area;
import lombok.Data;

import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class AreaModel extends Area {

    @JsonProperty("children")
    private List<AreaModel> subArea;
}
